#pragma once
#include "candy.h"
class Chocolates :
	public Candy
{
public:
	Chocolates(void){type = "";}
	Chocolates(string name, double price, int number, double customerPrice, string type):
		Candy(name, price, number, customerPrice) {this->type = type;}
	~Chocolates(void);
	void SetType(string &type){this->type = type;}
	string GetType(){return type;}
	void Write()
	{
		cout << "Chocolates: ";
		cout << name << ", " << price << ", " << number << ", " << customerPrice << ", " << type << endl;
	}
protected:
	string type;
};

